package utilts;

public enum ResponseCode {
    SUCCESS(10,"操作成功！"),
    ERROR(11,"操作失败！"),
    NOT_LOGIN(12,"未登录"),

    NOT_USER(13,"不存在这个用户！"),
    NOT_PASSWORD(14,"密码不正确！"),
    LOGIN_SUCCESS(15,"登录成功！！");





    private int code;
    private String desc;

    ResponseCode(int code,String desc){
        this.code = code;
        this.desc = desc;
    }

    public int getCode(){
        return code;
    }

    public String getDesc(){
        return desc;
    }
}
